export let businessTypeJson = [
	{"item_code":"100","item_name":"内资"},
	{"item_code":"110","item_name":"国有全资"},
	{"item_code":"120","item_name":"集体全资"},
	{"item_code":"130","item_name":"股份合作"},
	{"item_code":"140","item_name":"联营"},
	{"item_code":"141","item_name":"国有联营"},
	{"item_code":"142","item_name":"集体联营"},
	{"item_code":"143","item_name":"国有与集体联营"},
	{"item_code":"149","item_name":"其他联营"},
	{"item_code":"150","item_name":"有限责任(公司)"},
	{"item_code":"159","item_name":"其他有限责任(公司)"},
	{"item_code":"160","item_name":"股份有限(公司)"},
	{"item_code":"170","item_name":"私有"},
	{"item_code":"171","item_name":"私有独资"},
	{"item_code":"172","item_name":"私有合伙"},
	{"item_code":"173","item_name":"私营有限责任(公司)"},
	{"item_code":"174","item_name":"私营股份有限(公司)"},
	{"item_code":"175","item_name":"个体经营"},
	{"item_code":"179","item_name":"其他私有"},
	{"item_code":"190","item_name":"其他内资"},
	{"item_code":"200","item_name":"港、澳、台投资"},
	{"item_code":"210","item_name":"内地和港、澳或台合资"},
	{"item_code":"220","item_name":"内地和港、澳或台合作"},
	{"item_code":"230","item_name":"港、澳或台独资"},
	{"item_code":"240","item_name":"港、澳或台投资股份有限(公司)"},
	{"item_code":"290","item_name":"其他港澳台投资"},
	{"item_code":"300","item_name":"国外投资"},
	{"item_code":"310","item_name":"中外合资"},
	{"item_code":"320","item_name":"中外合作"},
	{"item_code":"330","item_name":"外资"},
	{"item_code":"340","item_name":"国外投资股份有限(公司)"},
	{"item_code":"390","item_name":"其他国外投资"},
	{"item_code":"900","item_name":"其他"}
]

export function setBusinessType(type) {
	var businessType = '';
	businessTypeJson.forEach(function(value){
		if(value.item_code == type){
			businessType =  value.item_name;
			return;
		}
	});
	return businessType?businessType:'--';
}